package com.example.mylibrary.log;

import com.example.mylibrary.BuildConfig;
import com.orhanobut.logger.Logger;

public class LogUtils {
    public static void d(String arg) {
        if (BuildConfig.DEBUG) {
            Logger.d(arg);
        }
    }


    public static void i(String arg) {
        if (BuildConfig.DEBUG) {
            Logger.i(arg);
        }
    }

    public static void e(String arg) {
        if (BuildConfig.DEBUG) {
            Logger.e(arg);
        }
    }

    public static void json(String arg) {
        if (BuildConfig.DEBUG) {
            Logger.json(arg);
        }
    }

    public static void v(String arg) {
        if (BuildConfig.DEBUG) {
            Logger.v(arg);
        }
    }
}
